<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $keys->getLang();?>" lang="<?php echo $keys->getLang();?>">
<head>
  <title><?php echo $keys->appTitle; ?></title>
	<meta http-equiv="content-type" content="text/html; charset=utf-8" />
	<meta name="robots" content="noindex, nofollow" />
	<style type="text/css" media="screen"> /*<![CDATA[*/ <!--
    @import url(style/budget.css?ver=<?php echo CB_VERSION;?>);
    @import url(style/colors.css?ver=<?php echo CB_VERSION;?>);
    @import url(style/tables.css?ver=<?php echo CB_VERSION;?>);
    --> /*]]>*/
  </style>
  <link type="text/css" href="style/css/ui-darkness/jquery-ui-1.7.1.custom.css" rel="stylesheet" />
  <style type="text/css" media="print"> /*<![CDATA[*/ <!--
    @import url(style/budget_print.css?ver=<?php echo CB_VERSION;?>);
    @import url(style/tables_print.css?ver=<?php echo CB_VERSION;?>);
    --> /*]]>*/
  </style>
  <link rel="shortcut icon" href="favicon.ico">
  <script type="text/javascript" src="js/jquery-1.3.min.js"></script>
  <script type="text/javascript" src="js/ui.core.js"></script>
	<script type="text/javascript" src="js/ui.datepicker.js"></script>
	<?php
	$lang=$keys->getLang();
	switch($lang) {
    case 'en': echo "";
    break;
    default:
      echo '<script type="text/javascript" src="js/ui.datepicker-'.$lang.'.js"></script>';
	  break;
    }
  ?>
  
  <script type="text/javascript" src="js/jClock.2.2.1.js"></script>
	<script type="text/javascript" src="js/ajaxfileupload.js"></script>
  <script type="text/javascript">
  eval(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('(1($){$.9.D=$.9.g=1(b){b=b||p;i=1(a){j(a);a.4=$("r",a);a.4.q(":o(0)").l().C();a.5=0;h(a)};h=1(a){a.m=t(1(){f(a)},b)};j=1(a){s(a.m)};8=1(a){a.3=7};d=1(a){a.3=c};f=1(a){e(a.3)6;a.3=7;$(a.4[a.5]).n("k",1(){$(2).l();a.5=++a.5%(a.4.B());$(a.4[a.5]).z("k",1(){a.3=c})})};2.y(1(){e(2.x.w()!="A")6;i(2)}).v("g").u(1(){8(2)},1(){d(2)});6 2}})(E);',41,41,'|function|this|pause|items|currentitem|return|true|pauseTicker|fn|||false|resumeTicker|if|doTick|newsticker|startTicker|initTicker|stopTicker|slow|hide|tickfn|fadeOut|eq|4000|not|li|clearInterval|setInterval|hover|addClass|toLowerCase|nodeName|each|fadeIn|ul|size|end|newsTicker|jQuery'.split('|'),0,{}))
  </script>
  <script type="text/javascript" src="js/process.js?ver=<?php echo CB_VERSION;?>"></script>
</head>
<body>
<div id="wrapper1">
  <div id="wrapper2">
    <div class="header" id="header">
      <h1><a href="#" action="home"><img src="style/logo.png" with="250" height="83"></a></h1><span id="clock"></span>
        <ul>
          <?php
          $userSettings = class_settings::getInstance(); 
          if($userSettings->secureAccess() === '1') { 
          ?>
          <li><a href="#" action="login"><img src="style/icons/lock.png" align="bottom"> <?php echo $keys->link_logout; ?></a></li>
          <?php } ?>
          <li><a href="#" action="settings"><img src="style/icons/user_edit.png" align="bottom"> <?php echo $keys->link_pageSettings; ?></a></li>
          <li><a href="#" onClick="searchFormSubmit()"><img src="style/icons/zoom.png" id="searchIcon"/> <?php echo $keys->text_Search; ?> <input size="5" alt="search..." type="text" name="search" id="keys" onkeyup="searchFormSubmit()"></a></li>
          <li><a href="#" action="actions"><img src="style/icons/wrench.png" align="bottom"> <?php echo $keys->link_menuActions; ?></a></li>
          <li><a href="#" action="wizard"><img src="style/icons/transmit_edit.png" align="bottom"> <?php echo $keys->link_menuWizard; ?></a></li>
          <li><a href="#" action="home"><img src="style/icons/chart_pie.png" align="bottom"> <?php echo $keys->link_overview; ?></a></li>
          <li id="loading"><img src="style/icons/loading.gif"></li>
        </ul>
    </div>
    <div class="main">
      <div class="centerpadding">
        <div class="main-content" id="main">
        <?php echo $this->output; ?>
        </div>
      </div>
    </div>
  <div class="clearing"></div>
  <div id="footer" class="footer"><a href="http://www.clearbudget.net/contact.html" target="_blank"><?php echo $keys->link_contact; ?></a>
   - <a href="http://www.clearbudget.net/?checkVersion&version=<?php echo CB_VERSION;?>" target="_blank"><?php echo $keys->link_checkPreviousVersion ?></a>
    - <a href="#" action="credits"><?php echo $keys->link_credits ?></a>
   <p id="copyrightnote">ClearBudget <?php echo CB_VERSION.' ('.CB_RELEASE; ?>)</p></div>
  </div>
</div>
</body>
</html>